package com.yuantong.xyerp.core.provider.service;

import com.yuantong.xyerp.core.api.model.Transportation;
import com.yuantong.xyerp.core.api.service.ITransportationService;
import com.yuantong.xyerp.core.provider.dao.TransportationMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * Created by Jianguo.Yin on 2021-08-05.
 */
@Service
public class TransportationServiceImpl implements ITransportationService {

    @Resource
    private TransportationMapper transportationMapper;

    @Override
    public List<Transportation> findByFuzzy(Date startTime, Date endTime, String fuzzy, List<String> ids) {
        return transportationMapper.findByFuzzy(startTime, endTime, fuzzy, ids);
    }
}
